package logic.weapons.projectileWeapons.missile;

import logic.ships.Ship;
import logic.weapons.WeaponFireController;
import logic.weapons.projectileWeapons.Projectile;

import com.jme.math.Vector3f;
import com.jme.scene.Node;

public class Missile extends Projectile {
	
	private static final long serialVersionUID = 1L;
	
	public Missile(Ship ship, Node model, Vector3f startLoc, Vector3f direction, MissileProperties props, 
			MissileWeapon weapon) {
		super(ship, model, startLoc, direction, props, weapon, false);
		
		fireController = new WeaponFireController(this, ship, direction);
		addController(fireController);
	}
}